<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@include file="/WEB-INF/webpage/common/taglibs.jspf"%>
<!DOCTYPE html>
<html>
<head>
  <title>征拆类型列表</title>
  <meta name="decorator" content="list"/>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <html:css  name="iCheck,Validform,jquery-ztree,easy-ui"/>
  <html:js  name="iCheck,Validform,jquery-ztree,easy-ui,public-js"/>
  <style type="text/css">.row{margin:0;}</style>
</head>
<body title="表信息">
<div class="easyui-layout" fit="true" style="width:100%;">
	<div data-options="region:'center'" title="表信息">
		<grid:grid id="dbTableId" multiselect="false" scrollpage="true" url="${adminPath}/map/commommap/findDbTables"
			 rowNum="30" sortable="false" ondblClickRow="dbClick">
			<grid:column label="sys.common.key" hidden="true" name="id" width="100"/>
		    <grid:column label="数据库"  name="tableSchema" />
		    <grid:column label="表名"  name="tableName" query="true"/>
		    <grid:column label="数引擎类型"  name="engine" />
		    <grid:column label="创建时间"  name="createTime" />
		    <grid:column label="编码类型"  name="tableCollation"/>
		    <grid:column label="数据库注解"  name="tableComment" query="true"/>
			
			<grid:toolbar function="search"/>
			<grid:toolbar function="reset"/>
		</grid:grid>
	</div>
</div>
<script type="text/javascript">

function dbClick(tableName){
	var url = "${adminPath}/map/commommap/tablesInfoList?tableName="+tableName;
	rowDialogDetailRefresh('查看',url,'',tableName,'90%','90%'); 
}
</script>
</body>
</html>